package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2018-07-09
 */
@TableName("payroll")
public class Payroll extends Model<Payroll> {

    private static final long serialVersionUID = 1L;
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 员工名称
     */
    private String username;
    /**
     * 员工编号
     */
    private Integer usercode;
    /**
     * 部门
     */
    private String platform;
    /**
     * 入职时间
     */
    @TableField("entry_time")
    private String entryTime;
    /**
     * 底薪
     */
    @TableField("basic_salary")
    private Double basicSalary;
    /**
     * 奖金
     */
    private Double bonus;
    /**
     * 出勤天数
     */
    @TableField("attendance_days")
    private Integer attendanceDays;
    /**
     * 实际底薪
     */
    @TableField("actual_basic_salary")
    private Double actualBasicSalary;
    /**
     * 实际奖金
     */
    @TableField("actual_bonus")
    private Double actualBonus;
    /**
     * 业绩奖金
     */
    @TableField("performance_bonus")
    private Double performanceBonus;
    /**
     * 提成
     */
    private Double commission;
    /**
     * 无休奖金
     */
    @TableField("norepair_bonus")
    private Double norepairBonus;
    /**
     * 其他补贴
     */
    @TableField("other_subsidies")
    private Double otherSubsidies;
    /**
     * 请假天数
     */
    @TableField("leave_days")
    private Integer leaveDays;
    /**
     * 请假扣款
     */
    @TableField("leave_deduction")
    private Double leaveDeduction;
    /**
     * 迟到次数
     */
    @TableField("late_arrivals")
    private Integer lateArrivals;
    /**
     * 迟到扣款
     */
    @TableField("leta_deduction")
    private Double letaDeduction;
    /**
     * 其他扣款
     */
    @TableField("other_deduction")
    private Double otherDeduction;
    /**
     * 预支piso
     */
    @TableField("advance_piso")
    private Double advancePiso;
    /**
     * 预支人民币
     */
    @TableField("advance_rmb")
    private Double advanceRmb;
    /**
     * 实发人民币
     */
    @TableField("real_rmb")
    private Double realRmb;
    /**
     * 应发piso
     */
    @TableField("send_psio")
    private Double sendPsio;
    /**
     * 房补
     */
    @TableField("room_supplement")
    private Double roomSupplement;
    /**
     * 实发piso
     */
    @TableField("real_piso")
    private Double realPiso;
    /**
     * 工资月份
     */
    @TableField("pay_time")
    private String payTime;
    /**
     * 备注
     */
    private String remarks;
    /**
     * 创建时间
     */
    private Date creattime;
    /**
     * 更新时间
     */
    private Date updatetime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getUsercode() {
        return usercode;
    }

    public void setUsercode(Integer usercode) {
        this.usercode = usercode;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public String getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(String entryTime) {
        this.entryTime = entryTime;
    }

    public Double getBasicSalary() {
        return basicSalary;
    }

    public void setBasicSalary(Double basicSalary) {
        this.basicSalary = basicSalary;
    }

    public Double getBonus() {
        return bonus;
    }

    public void setBonus(Double bonus) {
        this.bonus = bonus;
    }

    public Integer getAttendanceDays() {
        return attendanceDays;
    }

    public void setAttendanceDays(Integer attendanceDays) {
        this.attendanceDays = attendanceDays;
    }

    public Double getActualBasicSalary() {
        return actualBasicSalary;
    }

    public void setActualBasicSalary(Double actualBasicSalary) {
        this.actualBasicSalary = actualBasicSalary;
    }

    public Double getActualBonus() {
        return actualBonus;
    }

    public void setActualBonus(Double actualBonus) {
        this.actualBonus = actualBonus;
    }

    public Double getPerformanceBonus() {
        return performanceBonus;
    }

    public void setPerformanceBonus(Double performanceBonus) {
        this.performanceBonus = performanceBonus;
    }

    public Double getCommission() {
        return commission;
    }

    public void setCommission(Double commission) {
        this.commission = commission;
    }

    public Double getNorepairBonus() {
        return norepairBonus;
    }

    public void setNorepairBonus(Double norepairBonus) {
        this.norepairBonus = norepairBonus;
    }

    public Double getOtherSubsidies() {
        return otherSubsidies;
    }

    public void setOtherSubsidies(Double otherSubsidies) {
        this.otherSubsidies = otherSubsidies;
    }

    public Integer getLeaveDays() {
        return leaveDays;
    }

    public void setLeaveDays(Integer leaveDays) {
        this.leaveDays = leaveDays;
    }

    public Double getLeaveDeduction() {
        return leaveDeduction;
    }

    public void setLeaveDeduction(Double leaveDeduction) {
        this.leaveDeduction = leaveDeduction;
    }

    public Integer getLateArrivals() {
        return lateArrivals;
    }

    public void setLateArrivals(Integer lateArrivals) {
        this.lateArrivals = lateArrivals;
    }

    public Double getLetaDeduction() {
        return letaDeduction;
    }

    public void setLetaDeduction(Double letaDeduction) {
        this.letaDeduction = letaDeduction;
    }

    public Double getOtherDeduction() {
        return otherDeduction;
    }

    public void setOtherDeduction(Double otherDeduction) {
        this.otherDeduction = otherDeduction;
    }

    public Double getAdvancePiso() {
        return advancePiso;
    }

    public void setAdvancePiso(Double advancePiso) {
        this.advancePiso = advancePiso;
    }

    public Double getAdvanceRmb() {
        return advanceRmb;
    }

    public void setAdvanceRmb(Double advanceRmb) {
        this.advanceRmb = advanceRmb;
    }

    public Double getRealRmb() {
        return realRmb;
    }

    public void setRealRmb(Double realRmb) {
        this.realRmb = realRmb;
    }

    public Double getSendPsio() {
        return sendPsio;
    }

    public void setSendPsio(Double sendPsio) {
        this.sendPsio = sendPsio;
    }

    public Double getRoomSupplement() {
        return roomSupplement;
    }

    public void setRoomSupplement(Double roomSupplement) {
        this.roomSupplement = roomSupplement;
    }

    public Double getRealPiso() {
        return realPiso;
    }

    public void setRealPiso(Double realPiso) {
        this.realPiso = realPiso;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Date getCreattime() {
        return creattime;
    }

    public void setCreattime(Date creattime) {
        this.creattime = creattime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Payroll{" +
        "id=" + id +
        ", username=" + username +
        ", usercode=" + usercode +
        ", platform=" + platform +
        ", entryTime=" + entryTime +
        ", basicSalary=" + basicSalary +
        ", bonus=" + bonus +
        ", attendanceDays=" + attendanceDays +
        ", actualBasicSalary=" + actualBasicSalary +
        ", actualBonus=" + actualBonus +
        ", performanceBonus=" + performanceBonus +
        ", commission=" + commission +
        ", norepair Bonus=" + norepairBonus +
        ", otherSubsidies=" + otherSubsidies +
        ", leaveDays=" + leaveDays +
        ", leaveDeduction=" + leaveDeduction +
        ", lateArrivals=" + lateArrivals +
        ", letaDeduction=" + letaDeduction +
        ", otherDeduction=" + otherDeduction +
        ", advancePiso=" + advancePiso +
        ", advanceRmb=" + advanceRmb +
        ", realRmb=" + realRmb +
        ", send Psio=" + sendPsio +
        ", roomSupplement=" + roomSupplement +
        ", realPiso=" + realPiso +
        ", payTime=" + payTime +
        ", remarks=" + remarks +
        ", creattime=" + creattime +
        ", updatetime=" + updatetime +
        "}";
    }
}
